package jp.co.worksap.ate.gomoku.hadoopai;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import jp.co.worksap.ate.gomoku.localai.GobanNode;
import jp.co.worksap.ate.gomoku.model.GoState;
import jp.co.worksap.ate.gomoku.model.Goban;

public class EMRAI extends AbsHadoopAI {
	@Override
	protected Map<String, String> computeScoreMap(String folderName,
			Goban goban, GoState goType, List<GobanNode> rootList, int level) {
		try {
			return EMRUtil.run(folderName, goban, goType, rootList, level);
		} catch (IOException e) {
			throw new RuntimeException(e);
		} catch (InterruptedException e) {
			throw new RuntimeException(e);
		}
	}

}
